package cn.snowtech.bluebox.dto.remind;

import cn.snowtech.bluebox.dto.BaseRequestDTO;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 提醒对象的请求报文json.
 */
public class ReminderRequestDTO extends BaseRequestDTO {

    @JsonProperty("title")
    @NotBlank(message = "提醒事项不能为空值")
    private String todoThing;
    @JsonProperty("remindDate")
    private String remindDate;
    @JsonProperty("remindTime")
    private String remindTime;
    @JsonProperty("allday")
    private boolean allDay;
    @JsonProperty("repeat")
    private String repeat;
    @JsonProperty("imagePath")
    private String imagePath;

    public String getTodoThing() {
        return todoThing;
    }

    public void setTodoThing(String todoThing) {
        this.todoThing = todoThing;
    }

    public String getRemindDate() {
        return remindDate;
    }

    public void setRemindDate(String remindDate) {
        this.remindDate = remindDate;
    }

    public String getRemindTime() {
        return remindTime;
    }

    public void setRemindTime(String remindTime) {
        this.remindTime = remindTime;
    }

    public boolean isAllDay() {
        return allDay;
    }

    public void setAllDay(boolean allDay) {
        this.allDay = allDay;
    }

    public String getRepeat() {
        return repeat;
    }

    public void setRepeat(String repeat) {
        this.repeat = repeat;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }


}
